package com.itheima.health;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableScheduling //   扫描子包  结合  @Scheduled  完成任务调度执行
public class CleanOssImageJob {

    public static void main(String[] args) {
        SpringApplication.run(CleanOssImageJob.class, args);
        System.out.println("任务调度开启啦----");
    }
}
